<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <css file="__DATA__/css/base.css"/>
            <link type="text/css" href="__ROOT__/data/ui/css/flick/jquery-ui-1.8.23.custom.css" rel="stylesheet" />
            <script type="text/javascript" src="__ROOT__/data/ui/js/jquery-1.8.0.min.js"></script>
            <script type="text/javascript" src="__ROOT__/data/ui/js/jquery-ui-1.8.23.custom.min.js"></script>
            <script type="text/javascript">
                $(function(){
                    $("#tabs").tabs();
                })
            </script>

    </head>
    
    <body style="padding:10px;">
        <div class="path">
            <strong>您现在的位置：</strong>
            配置管理 > 修改配置项</empty>
        </div>
        <form action="__CONTROL__/update_config" method="post">
           
            <div id="tabs">
                <ul>
                    <li><a href="#tabs-1">基本内容</a></li>
                </ul>
                <div id="tabs-1">   
                      <list from="$config_show" name="$v">
                    <table class="table2">
                        <tr>
                            <th>所属配置组：</th>
                            <td>
                                <select name="tid">
                                  
                                    <option value="{$v.tid}">{$v.tname}</option>
                                  
                                </select>
                                <span class="desc">
                                    前台显示形式
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <input type='hidden' name='id' value='{$v.id}'>
                            <th>配置名称：</th>
                            <td><input type="text" name="name" value="{$v.name}" style="width:260px;"/>
                                <span class="desc">必须输入英文</span>
                            </td>
                        </tr>
                        <tr>
                            <th>标题：</th>
                            <td><input type="text" name="title" value="{$v.title}" style="width:260px;"/>
                                <span class="desc">配置项的提示文字，输入中文</span>
                            </td>
                        </tr>
                        <tr>
                            <th>配置类型：</th>
                            <td>
                                <select name="viewtype">
                                    <option value="string">文本框</option>
                                    <option value="select">下拉列表框</option>
                                    <option value="radio">单选框</option>
                                    <option value="checkbox">复选框</option>
                                </select>
                                <span class="desc">
                                    前台显示形式
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <th>数据：</th>
                            <td><textarea name="viewvalue" value="{$v.viewvalue}" style="float: left;width:380px; height:60px; vertical-align: middle;"></textarea>
                                <span class="desc" style="height: 60px;float:left; background:none;padding-left: 5px;">
                                    下拉列表框：1|男,2|女   说明:1,2为option的value值  男,女为提示文本<br/>
                                    单选框：1|男,2|女   说明:1,2为value值  男,女为提示文本<br/>
                                    复选框：1|男,2|女   说明:1,2为value值  男,女为提示文本<br/>
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <th>默认值：</th>
                            <td><input type="text" name="value" value="{$v.value}" style="width:260px;"/>
                                <span class="desc">默认值</span>
                            </td>
                        </tr>
                        
                        <tr>
                            <th>提示信息：</th>
                            <td><textarea name="msg" value="{$v.msg}" style="width:380px; height:60px;"></textarea>
                                <span class="desc">配置项的提示文字，输入中文</span>
                            </td>
                        </tr>
                    </table>
                  </list>
                </div>
                <div style="padding-left:100px;">
                    <input type="submit" value="修改配置项" class="submit"/>
                </div>
            </div>
        </form>
    </body>
</html>